/* cgi.h */
typedef struct{
    char   key[256];
    char value[256];
} PARAM;
#define PATH_DATABASE "/home/loongsec/database/database.db"
char* getcgidata(FILE* fp, char* requestmethod);
PARAM getParam(char *input, char *paraName);
int   getParams(char *input, char *paraName, PARAM *params);
PARAM getCookie(char *cookies, char *cookie_name);


